package cn.oms.manage.service;


import cn.oms.commons.pojo.vo.PageData;
import cn.oms.manage.pojo.entity.Order;
import cn.oms.manage.pojo.param.OrderAddParam;
import cn.oms.manage.pojo.param.OrderUpdateParam;
import cn.oms.manage.pojo.vo.OrderListVo;
import cn.oms.manage.pojo.vo.OrderStandardVO;

import java.util.List;

public interface IOrderService {


    void insert(OrderAddParam orderAddParam);
    void deleteById(Long id);
    void updateById(Long id,OrderUpdateParam orderUpdateParam);
    void  updateState();
    PageData<OrderListVo> list(Integer pageNum);
    PageData<OrderListVo> list(Integer pageNum, Integer pageSize);
    OrderStandardVO getStandardById(Long id) ;
    List<OrderListVo> listByUsername(String username);
    List<OrderListVo> listByDoctor(String doctorName);
    List<OrderListVo> listByState(String state);

}
